{temp('admin/head')}

</head>
<body class="page-body">
	
			
		{temp('admin/left')}

			{temp('admin/top')}

			{if(@$r)}
			<div class="row">
				<div class="col-sm-12">
					
					<div class="panel panel-default">
						<div class="panel-heading">
							<h3 class="panel-title">{$tit}</h3>
						</div>
						<div class="panel-body">
							<div class="form-horizontal">
								<div class="form-group">
									<label class="col-sm-2 control-label" for="field-1">课程id</label>
									
									<div class="col-sm-10">
										<div class="form-control" id="zh" style="width:30%;border:0px none;padding:7px 0px;">
										{$r['zid']}
										</div>
									</div>
								</div>
								
								<div class="form-group-separator"></div>
								
								<div class="form-group">
									<label class="col-sm-2 control-label" for="field-1">课程用户id</label>
									
									<div class="col-sm-10">
										<div class="form-control" id="zh" style="width:30%;border:0px none;padding:7px 0px;">
										{$r['uid']}
										</div>
									</div>
								</div>
								
								<div class="form-group-separator"></div>
								
								<div class="form-group">
									<label class="col-sm-2 control-label" for="field-1">{if($r['hdid'] == 0)}评论人{else}回复人{/if}</label>
									
									<div class="col-sm-10">
										<div class="form-control" id="zh" style="width:30%;border:0px none;padding:7px 0px;">{$r['hfid']}</div>
									</div>
								</div>
								
								<div class="form-group-separator"></div>
								
								{if($r['hdid'] != 0)}
								<div class="form-group">
									<label class="col-sm-2 control-label" for="field-1">被回复人</label>
									
									<div class="col-sm-10">
										<div class="form-control" id="zh" style="width:30%;border:0px none;padding:7px 0px;">{$r['hdid']}</div>
									</div>
								</div>
								
								<div class="form-group-separator"></div>
								{/if}
								
								<div class="form-group">
									<label class="col-sm-2 control-label" for="field-1">内容</label>
									
									<div class="col-sm-10">
										<div class="mail-single-body" id="zh" style="width:70%;border:0px none;padding:7px 0px;word-break:break-all;color:#555;">{$r['content']}</div>
									</div>
								</div>
								
								<div class="form-group-separator"></div>
								
								<div class="form-group">
									<label class="col-sm-2 control-label" for="field-1">评论时间</label>
									
									<div class="col-sm-10">
										<div class="form-control" id="zh" style="width:30%;border:0px none;padding:7px 0px;">{code(echo date('Y-m-d H:i:s',$r['time']))}</div>
									</div>
								</div>
								
								<div class="form-group-separator"></div>
								
								<div class="form-group">
									<div class="col-sm-10">
										<button class="btn btn-info btn-single pull-right" onclick="fh()" type="button">返回</button>
									</div>
								</div>
							</div>							
						</div>
					</div>
					
				</div>
			</div>
			{/if}
			<script type="text/javascript">
			function fh(){
				location.href = '{$_url}/admin/?act=pinglun{$gnpd}';
			}
			</script>
		{temp('admin/foot')}
	<!-- Bottom Scripts -->
	<script src="{$adstyle}/js/bootstrap.min.js"></script>
	<script src="{$adstyle}/js/TweenMax.min.js"></script>
	<script src="{$adstyle}/js/resizeable.js"></script>
	<script src="{$adstyle}/js/joinable.js"></script>
	<script src="{$adstyle}/js/xenon-api.js"></script>
	<script src="{$adstyle}/js/xenon-toggles.js"></script>

	<!-- Imported scripts on this page -->
	<script src="{$adstyle}/js/select2/select2.min.js"></script>

	<!-- JavaScripts initializations and stuff -->
	<script src="{$adstyle}/js/xenon-custom.js"></script>
</body>
</html>